package com.qf.sys.service.impl;

import com.github.pagehelper.PageInfo;
import com.qf.sys.dao.CitysDao;
import com.qf.sys.po.Citys;
import com.qf.sys.service.CitysService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @创建人 sunsir Email:sunsir163@163.com
 * @创建时间 2022/5/8
 * @描述
 */
@Service
public class CitysServiceImpl implements CitysService {
    @Resource
    CitysDao citysDao;
    @Override
    public PageInfo<Citys> getCityList(Map params) {
        List<Citys> cityList = citysDao.getCityList(params);
        PageInfo<Citys> pageInfo = new PageInfo<Citys>(cityList);
        return pageInfo;
    }
}
